package cn.signalpha.modules.pay.dto;

import cn.signalpha.core.swagger.ApiModelPropertyEnum;
import cn.signalpha.modules.pay.enums.PayClientEnum;
import cn.signalpha.modules.pay.enums.PayTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 类说明
 *
 * @author signalpha
 */
@Data
public class PayOrderDTO {

	@NotBlank
	@ApiModelProperty(value = "订单号，逗号分割")
	private String orderNo;
	@NotNull
    @ApiModelProperty(value = "支付类型")
	@ApiModelPropertyEnum(PayTypeEnum.class)
    private String payType;
	@NotNull
	@ApiModelProperty(value = "支付终端")
	@ApiModelPropertyEnum(PayClientEnum.class)
	private Integer payClient;
	@ApiModelProperty(value = "其他参数")
	private String param;
	@ApiModelProperty(value = "回调路由，H5传入")
	private String returnUrl;
	@ApiModelProperty(value = "微信传入")
	private String appId;
	@ApiModelProperty(value = "微信公众号、小程序传入")
	private String code;
	@ApiModelProperty(value = "银行卡号，快捷支付传")
	private String bankCardNo;
}
